package com.xiyi.shouxin.entity.user;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import lombok.Data;

/*
 * 问题表
 */
@Data
@Table(value = "question")
public class Question {
    @Id
    @Column(value = "id")
    private Long id;
    @Column(value = "title")
    private String title;
    /*
     * 类型,input,checkbox,radio...
     */
    @Column(value = "type")
    private String type;
    /*
     * 参数
     */
    @Column(value = "params")
    private String params;
    /*
     * 简介
     */
    @Column(value = "desc")
    private String desc;
    /*
     * 是否使用1：启用，0：禁用
     */
    @Column(value = "status")
    private Integer status;

}
